//
//  ICMineNetworkManager.h
//  ICome
//
//  Created by zhangrongwu on 16/9/26.
//  Copyright © 2016年 iCom. All rights reserved.
//  每一个模块的http请求

#import "ICNetworkManager.h"

@interface ICLoginNetworkManager : ICNetworkManager

+(instancetype)sharedInstance;


// 登录
- (void)loginLicensor:(NSString *)name
             password:(NSString *)password
              success:(HttpSuccessCompletionHandle)success
              failure:(HttpFailureCompletionHandle)failure;
// 得到验证码
- (void)loginGetAuthCode:(NSString *)name
                password:(NSString *)password
                 success:(HttpSuccessCompletionHandle)success
                 failure:(HttpFailureCompletionHandle)failure;
// 登录验证
- (void)loginVerify:(NSString *)name
           password:(NSString *)password
           authCode:(NSString *)autoCode
            success:(HttpSuccessCompletionHandle)success
            failure:(HttpFailureCompletionHandle)failure;
- (void)logout;

// 通过账号获取手机号
- (void)getMobile:(NSString *)code
          success:(HttpSuccessCompletionHandle)success
          failure:(HttpFailureCompletionHandle)failure;
// 获取验证码
- (void)getIdentCode:(NSDictionary *)param
             success:(HttpSuccessCompletionHandle)success
             failure:(HttpFailureCompletionHandle)failure;
// 重置密码步骤
- (void)resetPassword:(NSDictionary *)param
              success:(HttpSuccessCompletionHandle)success
              failure:(HttpFailureCompletionHandle)failure;
// 修改密码处理
- (void)modifyPassword:(NSDictionary *)param
               success:(HttpSuccessCompletionHandle)success
               failure:(HttpFailureCompletionHandle)failure;

/** 检测更新*/
-(void)checkVersionWithParam:(NSDictionary *)param
                     success:(HttpSuccessCompletionHandle)success
                     failure:(HttpFailureCompletionHandle)failure;


// 注册zoom
- (void)registerZoomCode:(NSDictionary *)param
             success:(HttpSuccessCompletionHandle)success
             failure:(HttpFailureCompletionHandle)failure;

@end
